Sets an object as the default object. Unless another object name is declared, all properties and methods refer to the default object until the End With statement is reached.
特定のオブジェクトを、デフォルトオブジェクトとして設定します。End With ステートメントまでのコード行では、オブジェクト名を明示しない限り、すべての属性やメソッドはこのデフォルトオブジェクトを参照しているものと見なされます。
With Object Statement block End With
With Object Statement block End With
Use With and End With if you have several properties or methods for a single object.
特定のオブジェクトに対して、複数の属性やメソッドを適用する場合は、With および End With の利用が便利です。